package com.sayai.work.tools.easyxml.demo;

import com.alibaba.excel.annotation.ExcelProperty;

import java.util.Date;

public class ComplexHeadData {

    @ExcelProperty({"CONTROL-M 提交作业申请表", "","Seq"})
    private String jobisn;

    @ExcelProperty({"CONTROL-M 提交作业申请表", "Env","APPL"})
    private String application;

    @ExcelProperty({"CONTROL-M 提交作业申请表", "PRD" ,"GROUP"})
    private String sub_application;

    @ExcelProperty({"CONTROL-M 提交作业申请表", " " ,"TYPE"})
    private String type; // MEMNAME 以ctmfw开头，就是ctmfw；否则就是c

    @ExcelProperty({"CONTROL-M 提交作业申请表", "" ,"NODEID"})
    private String nodeid;
    @ExcelProperty({"CONTROL-M 提交作业申请表", " " ,"OWNER"})
    private String run_as;
    @ExcelProperty({"CONTROL-M 提交作业申请表", "" ,"PATH"})
    private String memlib;
    @ExcelProperty({"CONTROL-M 提交作业申请表", " " ,"SCRIPT NAME"})
    private String scriptname; // MEMNAME 如果“ctmfw”开头，就需要去掉ctmfw；否则直接用
    @ExcelProperty({"CONTROL-M 提交作业申请表", "" ,"PARM 1"})
    private String parm1; // 以空格分组，如果第0位不是ctmfw， 就取第1位的内容
    @ExcelProperty({"CONTROL-M 提交作业申请表", " " ,"PARM 2"})
    private String parm2; // 默认是空
    @ExcelProperty({"CONTROL-M 提交作业申请表", "" ,"PARM 3"})
    private String parm3; // 默认是空
    @ExcelProperty({"", " " ,"PRE JOB"})
    private String incond; // JOB-INCOND 中的 NAME 属性。 以-分隔，第二位。 存在多个INCOND的时候要处理多次，并且需要处理成;号加换行分隔
    @ExcelProperty({"", "" ,"FROMTIME"})
    private String timefrom; // 有可能不具备改属性
    @ExcelProperty({"", " " ,"TOTIME"})
    private String timeto; // 有可能不具备改属性
    @ExcelProperty({"", "" ,"AUTOEDIT"})
    private String variable_value; // <VARIABLE NAME="%%LIBMEMSYM" VALUE="/tmp/GCNPRDAC" /> 目前默认都是GCNPRDAC
    @ExcelProperty({"", " " ,"DOCMEM"})
    private String docmem; // 可能为空
    @ExcelProperty({"", "" ,"DOCLIB"})
    private String doclib; // 目前为空
    @ExcelProperty({"", " " ,"SUPPORT"})
    private String description_error; // Function前，去掉 if error, call
    @ExcelProperty({"", "" ,"FUNCTION"})
    private String description_function; // Function后，去掉Function is: load:

    @ExcelProperty({"", " " ,"ERRSTR"})
    private String doaction_on_code; // DOACTION 有的时候，才有改属性 默认值为 NOTOK
    @ExcelProperty({"", "" ,"ERRACT"})
    private String doaction_action; // DOACTION 的action
    @ExcelProperty({"", " " ,"CYLJOB"})
    private String CYLJOB; // 默认为空
    @ExcelProperty({"", "" ,"MXRUN"})
    private String mxrun; // DOACTION 有的时候，才有改属性 默认值为 24
    @ExcelProperty({"", " " ,"INTV"})
    private String interval; // 00030M 转换为30
    @ExcelProperty({"", "" ,"CFR"})
    private String cfr;// 默认为空
    @ExcelProperty({"", " " ,"LASUB"})
    private String lasub;// 默认为空
    @ExcelProperty({"", " " ,"LAOVR"})
    private String shout_last_time; // SHOUT-TIME WHEN=lasttime 的 time
    @ExcelProperty({"", "" ,"EXEC"})
    private String shout_exec_time;// SHOUT-TIME WHEN=EXECTIME 的 time
    @ExcelProperty({"", " " ,"DAYS"})
    private String days; // 默认为空
    @ExcelProperty({"", "" ,"LOGIC"})
    private String logic;// 默认为空
    @ExcelProperty({"", " " ,"WDAYS"})
    private String wdays;// 默认为空
    @ExcelProperty({"", "" ,"MXWAIT"})
    private String mxwait; // 默认是3
    @ExcelProperty({"", " " ,"FORCE TO"})
    private String force_to;// 默认为空
    @ExcelProperty({"", "" ,"FORCE PRE"})
    private String force_pre;// 默认为空
    @ExcelProperty({"", " " ,"NOTOKDO"})
    private String notokdo;// 默认为空
    @ExcelProperty({"", "" ,"IN_EXTCOND"})
    private String in_extcond;// 默认为空
    @ExcelProperty({"", " " ,"OUT_EXTCOND"})
    private String out_extcond;// 默认为空
    @ExcelProperty({"", "" ,"BIM预警时间"})
    private String bim_time;// 默认为空
    @ExcelProperty({"", " " ,"BIM影响"})
    private String bim_do;// 默认为空
    @ExcelProperty({"", "" ,"备注"})
    private String bim_desc;// 默认为空
    @ExcelProperty({"", " " ,"HA地址"})
    private String ha; // 默认为空
    @ExcelProperty({"", " " ,"JOBNAME"})
    private String jobname; // 默认为空
}
